package com.yj.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value = "my_menu")
@Data
public class Menu extends BasePO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField(value = "parent_id")
    private Integer parentId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "icon")
    private String icon;

    @TableField(value = "href")
    private String href;

    @TableField(value = "permission")
    private String permission;

    @TableField(value = "sort")
    private Integer sort;

    @TableField(value = "type")
    private Integer type;

}
